<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
 <body>
    <jsp:useBean id="student" class="cn.huayu.edu.javabean.Student"/>
    <div>
      <ul>
        <li>
  姓名：<jsp:getProperty name="student" property="name"/>
        </li>
        <li>
   年龄：<jsp:getProperty name="student" property="age"/>
        </li>
        <li>
   性别：<jsp:getProperty name="student" property="sex"/>
        </li>
      </ul>
    </div>
  </body>

</body>
</html>